namespace 项目01;

    class Teacher
    {
        public string name;
        public string id;
        public string gender;
        public int age;
        public string GetInfo (){
            return $"姓名：{name}\n身份证:{id}\n性别:{gender}\n年龄:{age}";
        }
    }
